using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
	public class XYScaleType
	{
        private float xField, yField;

        public XYScaleType()
		{
            this.xField = 1F;
            this.yField = 1F;
		}

        [XmlElement(ElementName = "x", DataType = "float")]
        [DefaultValue(1F)]
        public float X
        {
            get { return this.xField; }
            set { this.xField = value; }
        }

        [XmlElement(ElementName = "y", DataType = "float")]
        [DefaultValue(1F)]
        public float Y
        {
            get { return this.yField; }
            set { this.yField = value; }
        }
    }
    public enum ScaleTypeEnum { Single, XY }
}